/* PHOTO ADMIN STYLE! */

.loadingImageSignin {
        padding-left: 5px;
}

.loadingImageLogin {
        padding-top: 13px;
        padding-left: 5px;
}

.loadingImageFacebookLogin{
        padding-top: 5px;
        padding-left: 5px;
}

/*  Credit: http://www.templatemo.com   */

#login_box { float: right; margin: 15px 0 0 0; height: 50px; }
#login_box a { float: right; }
#login_box #facebook_login { float: right; margin-top: 5px; clear: both; }

#title { float: left; margin-top: 15px; }

.facebookLogInSection {
        border-color: #255b17;
    border-style: solid;
    border-width: 3px 3px;
    padding: 0px 10px 0px 10px;  
}

body {
        margin: 0;
        padding: 0;
        line-height: 1.5em;
        font-family: Georgia, "Times New Roman", Times, serif;
        font-size: 12px;
        color: #666;
        background: #ffffff;
}

p {
        margin: 0px;
        padding: 0px;
}

img {
        margin: 0px;
        padding: 0px;
        border: none;
}


.cleaner { clear: both; width: 100%; height: 0px; font-size: 0px;  }

.margin_bottom_10 { clear: both; width: 100%; height: 10px; font-size: 1px;     }
.margin_bottom_15 { clear: both; width: 100%; height: 15px; font-size: 1px;     }
.margin_bottom_20 { clear: both; width: 100%; height: 20px; font-size: 1px;     }
.margin_bottom_30 { clear: both; width: 100%; height: 30px; font-size: 1px;     }
.margin_bottom_40 { clear: both; width: 100%; height: 40px; font-size: 1px;     }
.margin_bottom_50 { clear: both; width: 100%; height: 50px; font-size: 1px;     }
.margin_bottom_60 { clear: both; width: 100%; height: 60px; font-size: 1px;     }

.margin_right_40 { margin-right: 40px; }
.margin_right_70 { margin-right: 70px; }

.fl { float: left; }
.fr { float: right }

.button_01 a{
        clear: both;
        display: block;
        width: 100px;
        height: 23px;
        padding-top: 5px;
        background: url(../images/templatemo_button_01.png) no-repeat;
        
        
        color: #000;
        font-size: 13px;
        font-weight: bold;
        text-align: center;
        text-decoration: none;
}

.header_01 {
        clear: both;
        padding-bottom: 10px;
        margin-bottom: 10px;
        font-size: 32px;
        line-height: 40px;      
        color: #ffffff;
}

.header_02 {
        clear: both;
        padding-bottom: 20px;
        margin-bottom: 15px;
        font-size: 22px;
        letter-spacing: 2px;
        color: #000000;
        background: url(../images/templatemo_header_01_bg.jpg) left bottom no-repeat;   
}

.header_03 {
        clear: both;
        height: 35px;
        padding: 15px 0 0 20px;
        font-size: 18px;
        color: #ffffff;
        background: url(../images/templatemo_header_02_bg.jpg) repeat-x;
}

.header_04 {
        clear: both;
        font-size: 12px;
        font-weight: bold;
        color: #000000;
}

.header_04 a{
        clear: both;
        font-size: 12px;
        font-weight: bold;
        color: #000000;
        text-decoration: none;
}

.header_05 {
        clear: both;
        font-size: 14px;
        color: #ffffff;
        width: 128px;
        height: 24px;
        padding: 3px 0 0 20px;
        margin-bottom: 5px;
        background:  url(../images/templatemo_footer_title_bg.png) no-repeat;
}



#templatemo_header_wrapper {
        width: 100%;
        height: 151px;
        margin: 0 auto;
        background: #19446a url(../images/templatemo_header_bg_long.jpg) repeat-x;
}

#templatemo_header {
        width: 980px;
        height: 100%;
        margin: 0 auto;
}

#templatemo_header #site_logo {
        float: left;
        width: 300px;
        height: 84px;
        font-size: 40px;
        color: #ffffff;
}

/* menu */

#templatemo_menu {
        position: relative;
        float: left;
        height: 47px;
        margin: 10px 40px 0 0;
        background: url(../images/templatemo_menu_right.jpg) right no-repeat;
}

#templatemo_menu #templatemo_menu_left{
        position: absolute;
        width: 20px;
        height: 47px;
        top: 0px;
        left: 0px;
        background: url(../images/templatemo_menu_left.jpg) no-repeat;
}

#templatemo_menu ul {
        margin: 10px 20px 0 0;
        padding: 0px;
        list-style: none;
}

#templatemo_menu ul li{
        padding: 0px;
        margin: 0px;
        display: inline;
}

#templatemo_menu ul li a{
        float: left;
        display: block;
        width: 100px;
        padding: 5px 0;
        background: url(../images/templatemo_menu_divider.jpg) right repeat-y;
        text-align: center;
        font-size: 14px;
        text-decoration: none;
        color: #919191; 
        font-weight: normal;
        outline: none;
}

#templatemo_menu li a:hover, #templatemo_menu li .current{
        color: #bbd142;
}

#templatemo_menu li .last {
        background: none;
}

/* end of menu*/

/* end of header */

#templatemo_banner_wrapper {
        clear: both;
        width: 100%;
        height: 281px;
        margin: 0 auto;
        background: #454545 url(../images/templatemo_banner_repeat.jpg) repeat-x;
}

#templatemo_banner {
        width: 900px;
        height: 251px;
        margin: 0 auto;
        padding: 30px 40px 0 40px;;
        background:url(../images/templatemo_banner_bg.jpg) bottom no-repeat;
}

#templatemo_banner #templatemo_banner_image {
        float: left;
        width: 440px;   
}

#templatemo_banner_content {
        float: right;
        text-align: left;
        width: 460px;
}

#templatemo_banner_content p {
        color: #959787;
        font-size: 20px;
        line-height: 25px;
        margin-bottom: 20px;
}

#templatemo_banner_image_wrapper {
        position: relative;
        width: 413px;
        height: 230px;
        background:url(../images/templatemo_banner_image_bg.png) no-repeat;
}

#templatemo_banner_image_wrapper img {
        position: absolute;
        width: 380px;
        height: 210px;
        top: 10px; 
        left: 10px;
}


/* content */

#templatemo_content_wrapper {
        clear: both;
        width: 980px;
        margin: 0 auto;
        background: #ffffff;
}

#templatemo_content {
        width: 900px;
        padding: 50px 40px;
        background: #ffffff;
}


#column_w530 {
        float: left;
        width: 530px;
        line-height: 20px;
        background: #ffffff;
}

#rightPanel {
        float: right;
        width: 298px;
        background: #efefef;
        border: 1px solid #e5e5e5;
}

#column_w530 .em_text {
        color: #000;
}

#column_w530 p {
        margin-bottom: 15px;
}

.content_list_01 {
        margin: 0 0 0 30px;
        padding: 0px;
        list-style: square;
}

.content_list_01 li {
        margin: 0px;
        padding: 0 0 10px 10px;
        
}

.content_section_01 {
        border-left: 10px solid #bbd142;
        padding-left: 20px;
}

.rightPanel_section_01 {
        clear: both;
        padding: 20px 19px;
        background: url(../images/templatemo_side_column_divider.jpg) bottom repeat-x;
}

.even_color {
        background: #e0dfdf;
}

.news_image_wrapper {
        float: left;
        width: 70px;
        height: 70px;
        padding: 4px;
        margin: 3px 0 0 0;
        border: 1px solid #dad8d8;
        background: #ffffff;
}

.news_image_wrapper img{
        width: 69px;
        height: 69px;
        border: 1px solid #9c9d85;
}

.news_content {
        float: right;
        width: 170px;
}

.news_content .news_date {
        font-size: 12px;
        color: #9a9a9a;
}

.news_content p{
        line-height: 15px;
        font-size: 11px;
}

/* end of content

/* footer */

#templatemo_footer_wrapper {
        width: 100%;
        margin: 0 auto;
        background: url(../images/templatemo_footer_bg.jpg) repeat-x;
}

#templatemo_footer {
        width: 920px;
        padding: 30px;
        margin: 0 auto;
        color: #515251;
}

#templatemo_footer a{
        text-decoration: none;
        color: #7a7a7a;
}

.section_w180 {
        float: left;
        width: 160px;
        padding: 0 20px 0 0;    
}

.section_w180_content {
        padding: 0 0 0 20px;
}

#templatemo_footer  .footer_menu_list {
        margin: 0px;
        padding: 0px;
        list-style: none;
}

#templatemo_footer .footer_menu_list li {
        margin: 0 0 5px 0;
        padding: 0px;
}

#templatemo_footer .footer_menu_list li a {
        color: #928b85;
        font-weight: normal;
        text-decoration: none;
}

/* end of footer */

/* GRAILS CSS*/

#grailsLogo {
        background-color: #abbf78;
}

/* replace with .no-boxshadow body if you have modernizr available */
.ie6 body,
.ie7 body,
.ie8 body {
        border-color: #255b17;
        border-style: solid;
        border-width: 0 1px;
}

.ie6 body {
        height: 100%;
}

h1 {
        color: #48802c;
        font-weight: normal;
        font-size: 2em;
        margin: 0.8em 0 0.3em 0;
}

ul {
        padding: 0;
}

img {
        border: 0;
}

/* GENERAL */

#grailsLogo a {
        display: inline-block;
        margin: 1em;
}

.content {
}

.content h1 {
        border-bottom: 1px solid #CCCCCC;
        margin: 0.8em 1em 0.3em;
        padding: 0 0.25em;
}

.scaffold-list h1 {
        border: none;
}

.footer {
        background: #abbf78;
        color: #000;
        clear: both;
        font-size: 0.8em;
        margin-top: 1.5em;
        padding: 1em;
        min-height: 1em;
}

.footer a {
        color: #255b17;
}

.spinner {
        background: url(../images/spinner.gif) 50% 50% no-repeat transparent;
        height: 16px;
        width: 16px;
    padding: 0.5em;
    position: absolute;
    right: 0;
        top: 0;
        text-indent: -9999px;
}

/* NAVIGATION MENU */

.nav {
        background-color: #efefef;
        padding: 0.5em 0.75em;
           -moz-box-shadow: 0 0 3px 1px #aaaaaa;
        -webkit-box-shadow: 0 0 3px 1px #aaaaaa;
                box-shadow: 0 0 3px 1px #aaaaaa;
        zoom: 1;
}

.nav ul {
        overflow: hidden;
        padding-left: 0;
        zoom: 1;
}

.nav li {
        display: block;
        float: left;
        list-style-type: none;
        margin-right: 0.5em;
        padding: 0;
}

.nav a {
        color: #666666;
        display: block;
        padding: 0.25em 0.7em;
        text-decoration: none;
           -moz-border-radius: 0.3em;
        -webkit-border-radius: 0.3em;
                border-radius: 0.3em;
}

.nav a:active, .nav a:visited {
        color: #666666;
}

.nav a:focus, .nav a:hover {
        background-color: #999999;
        color: #ffffff;
        outline: none;
        text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
}

.no-borderradius .nav a:focus, .no-borderradius .nav a:hover {
        background-color: transparent;
        color: #444444;
        text-decoration: underline;
}

.nav a.home, .nav a.list, .nav a.create {
        background-position: 0.7em center;
        background-repeat: no-repeat;
        text-indent: 25px;
}

.nav a.home {
        background-image: url(../images/skin/house.png);
}

.nav a.list {
        background-image: url(../images/skin/database_table.png);
}

.nav a.create {
        background-image: url(../images/skin/database_add.png);
}

/* CREATE/EDIT FORMS AND SHOW PAGES */

fieldset,
.property-list {
        margin: 0.6em 1.25em 0 1.25em;
        padding: 0.3em 1.8em 1.25em;
        position: relative;
        zoom: 1;
        border: none;
}

.property-list .fieldcontain {
        list-style: none;
        overflow: hidden;
        zoom: 1;
}

.fieldcontain {
        margin-top: 1em;
}

.fieldcontain label,
.fieldcontain .property-label {
        color: #666666;
        text-align: right;
        width: 25%;
}

.fieldcontain .property-label {
        float: left;
}

.fieldcontain .property-value {
        display: block;
        margin-left: 27%;
}

label {
        cursor: pointer;
        display: inline-block;
        margin: 0 0.25em 0 0;
}

select, textarea {
        background-color: #fcfcfc;
        border: 1px solid #cccccc;
        font-size: 1em;
        padding: 0.2em 0.4em;
}

select {
        padding: 0.2em 0.2em 0.2em 0;
}

select[multiple] {
        vertical-align: top;
}

textarea {
        width: 250px;
        height: 150px;
        overflow: auto; /* IE always renders vertical scrollbar without this */
        vertical-align: top;
}

select:focus, textarea:focus {
        background-color: #ffffff;
        border: 1px solid #eeeeee;
        outline: 0;
           -moz-box-shadow: 0 0 0.5em #ffffff;
        -webkit-box-shadow: 0 0 0.5em #ffffff;
                box-shadow: 0 0 0.5em #ffffff;
}

.required-indicator {
        color: #48802C;
        display: inline-block;
        font-weight: bold;
        margin-left: 0.3em;
        position: relative;
        top: 0.1em;
}

ul.one-to-many {
        display: inline-block;
        list-style-position: inside;
        vertical-align: top;
}

.ie6 ul.one-to-many, .ie7 ul.one-to-many {
        display: inline;
        zoom: 1;
}

ul.one-to-many li.add {
        list-style-type: none;
}

/* EMBEDDED PROPERTIES */

fieldset.embedded {
        background-color: transparent;
        border: 1px solid #CCCCCC;
        padding-left: 0;
        padding-right: 0;
           -moz-box-shadow: none;
        -webkit-box-shadow: none;
                box-shadow: none;
}

fieldset.embedded legend {
        margin: 0 1em;
}

/* MESSAGES AND ERRORS */

.errors,
.message {
        font-size: 0.8em;
        line-height: 2;
        margin: 1em 2em;
        padding: 0.5em;
}

.message {
        background: #f3f3ff;
        border: 1px solid #b2d1ff;
        color: #006dba;
           -moz-box-shadow: 0 0 0.25em #b2d1ff;
        -webkit-box-shadow: 0 0 0.25em #b2d1ff;
                box-shadow: 0 0 0.25em #b2d1ff;
}

.message_dark {
        background: #000000;
        border: 1px solid #000000;
        color: #006dba;
           -moz-box-shadow: 0 0 0.25em #b2d1ff;
        -webkit-box-shadow: 0 0 0.25em #b2d1ff;
                box-shadow: 0 0 0.25em #b2d1ff;
}


.errors {
        background: #fff3f3;
        border: 1px solid #ffaaaa;
        color: #cc0000;
           -moz-box-shadow: 0 0 0.25em #ff8888;
        -webkit-box-shadow: 0 0 0.25em #ff8888;
                box-shadow: 0 0 0.25em #ff8888;
}

.errors ul,
.message {
        padding: 0;
}

.errors li {
        list-style: none;
        background: transparent url(../images/skin/exclamation.png) 0 50% no-repeat;
        text-indent: 22px;
}

.message {
        background: transparent url(../images/skin/information.png) 0 50% no-repeat;
        text-indent: 22px;
}

/* form fields with errors */

.error select, .error textarea {
        background: #fff3f3;
        border-color: #ffaaaa;
        color: #cc0000;
}

.error select:focus, .error textarea:focus {
           -moz-box-shadow: 0 0 0.5em #ffaaaa;
        -webkit-box-shadow: 0 0 0.5em #ffaaaa;
                box-shadow: 0 0 0.5em #ffaaaa;
}

/* same effects for browsers that support HTML5 client-side validation (these have to be specified separately or IE will ignore the entire rule) */

select:invalid, textarea:invalid {
        background: #fff3f3;
        border-color: #ffaaaa;
        color: #cc0000;
}

select:invalid:focus, textarea:invalid:focus {
           -moz-box-shadow: 0 0 0.5em #ffaaaa;
        -webkit-box-shadow: 0 0 0.5em #ffaaaa;
                box-shadow: 0 0 0.5em #ffaaaa;
}

/* TABLES */

table {
        border-top: 1px solid #DFDFDF;
        border-collapse: collapse;
        width: 100%;
        margin-bottom: 1em;
}

tr {
        border: 0;
}

tr>td:first-child, tr>th:first-child {
        padding-left: 1.25em;
}

tr>td:last-child, tr>th:last-child {
        padding-right: 1.25em;
}

td, th {
        line-height: 1.5em;
        padding: 0.5em 0.6em;
        text-align: left;
        vertical-align: top;
}

th {
        background-color: #efefef;
        background-image: -moz-linear-gradient(top, #ffffff, #eaeaea);
        background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ffffff), color-stop(1, #eaeaea));
            filter: progid:DXImageTransform.Microsoft.gradient(startColorStr = '#ffffff', EndColorStr = '#eaeaea');
        -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#eaeaea')";
        color: #666666;
        font-weight: bold;
        line-height: 1.7em;
        padding: 0.2em 0.6em;
}

thead th {
        white-space: nowrap;
}

th a {
        display: block;
        text-decoration: none;
}

th a:link, th a:visited {
        color: #666666;
}

th a:hover, th a:focus {
        color: #333333;
}

th.sortable a {
        background-position: right;
        background-repeat: no-repeat;
        padding-right: 1.1em;
}

th.asc a {
        background-image: url(../images/skin/sorted_asc.gif);
}

th.desc a {
        background-image: url(../images/skin/sorted_desc.gif);
}

.odd {
        background: #f7f7f7;
}

.even {
        background: #ffffff;
}

th:hover, tr:hover {
        background: #E1F2B6;
}

/* PAGINATION */

.pagination {
        border-top: 0;
        margin: 0;
        padding: 0.3em 0.2em;
        text-align: center;
           -moz-box-shadow: 0 0 3px 1px #AAAAAA;
        -webkit-box-shadow: 0 0 3px 1px #AAAAAA;
                box-shadow: 0 0 3px 1px #AAAAAA;
        background-color: #EFEFEF;
}

.pagination a,
.pagination .currentStep {
        color: #666666;
        display: inline-block;
        margin: 0 0.1em;
        padding: 0.25em 0.7em;
        text-decoration: none;
           -moz-border-radius: 0.3em;
        -webkit-border-radius: 0.3em;
                border-radius: 0.3em;
}

.pagination a:hover, .pagination a:focus,
.pagination .currentStep {
        background-color: #999999;
        color: #ffffff;
        outline: none;
        text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
}

.no-borderradius .pagination a:hover, .no-borderradius .pagination a:focus,
.no-borderradius .pagination .currentStep {
        background-color: transparent;
        color: #444444;
        text-decoration: underline;
}

/* ACTION BUTTONS */

.buttons {
        background-color: #efefef;
        overflow: hidden;
        padding: 0.3em;
           -moz-box-shadow: 0 0 3px 1px #aaaaaa;
        -webkit-box-shadow: 0 0 3px 1px #aaaaaa;
                box-shadow: 0 0 3px 1px #aaaaaa;
        margin: 0.1em 0 0 0;
        border: none;
}

.buttons a {
        background-color: transparent;
        border: 0;
        color: #666666;
        cursor: pointer;
        display: inline-block;
        margin: 0 0.25em 0;
        overflow: visible;
        padding: 0.25em 0.7em;
        text-decoration: none;

           -moz-border-radius: 0.3em;
        -webkit-border-radius: 0.3em;
                border-radius: 0.3em;
}

.buttons a:hover, .buttons a:focus {
        background-color: #999999;
        color: #ffffff;
        outline: none;
        text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
           -moz-box-shadow: none;
        -webkit-box-shadow: none;
                box-shadow: none;
}

.no-borderradius .buttons a:hover, .no-borderradius .buttons a:focus {
        background-color: transparent;
        color: #444444;
        text-decoration: underline;
}

.buttons .delete, .buttons .edit, .buttons .save {
        background-position: 0.7em center;
        background-repeat: no-repeat;
        text-indent: 25px;
}

.buttons .delete {
        background-image: url(../images/skin/database_delete.png);
}

.buttons .edit {
        background-image: url(../images/skin/database_edit.png);
}

.buttons .save {
        background-image: url(../images/skin/database_save.png);
}

a.skip {
        position: absolute;
        left: -9999px;
}

/* MODAL PANEL */

.modal_panel {
 
        /* must be initially hidden */
        display:none;
        
        /* place overlay on top of other elements */
        z-index:10000;
        
        /* styling */
        background-color:#ffffff;
        
        width:675px;
        min-height:200px;
        border:5px solid #666;
        
        /* CSS3 styling for latest browsers */
        -moz-box-shadow:0 0 90px 5px #000;
        -webkit-box-shadow: 0 0 90px #000;
}
 
/* close button positioned on upper right corner */
.modal_panel .close {

        background-image: url(../images/close_icon.png);
        position:absolute;
        right:-15px;
        top:-15px;
        cursor:pointer;
        height:35px;
        width:35px;
}

.modal_panel .modal_panel_content {
        
        padding-top: 10px;
        padding-left: 10px;
        padding-bottom: 20px;
        padding-right: 10px;
}

/* Custom File uploader */

.customFileUploadButtonBar {
        width: 600px;   
}
